﻿using Logistics.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Logistics.Contract
{
    public interface ICargoownerContractRepository
    {
        Task<int> Delete(int Id);

        Task<int> Create(Cargoowner ca);

        Task<Cargoowner> GetCargoownerById(int Id);

        Task<List<Cargoowner>> GetCargoowners();

        Task<int> Update(Cargoowner ca);
    }
}
